/*

 */
package portalsprototype;

import java.awt.*;

/**
 *
 * @author Oscar
 */
public class Main {

    public Main() {

        OmegaBar omegabar = new OmegaBar();

        GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
        GraphicsDevice[] gds = ge.getScreenDevices();
        Screen s = new Screen(gds[0].getDefaultConfiguration(), omegabar);
        s.setVisible(true);

        if (gds.length >= 2) {
            Screen s2 = new Screen(gds[1].getDefaultConfiguration(), omegabar);
            s2.setVisible(true);
        }
    }

    public static void main(String[] args) {
        Main app = new Main();
    }
}
